package com.ctrip.demo.proxy;

import java.lang.reflect.InvocationTargetException;

public class Test {

    public static void main(String[] args) {
        try {
            Class<?> aClass = Class.forName("com.ctrip.demo.proxy.User");
            User o = (User) aClass.getDeclaredConstructor().newInstance();

            System.out.println(o);

            int code = "ssss".hashCode();

            System.out.println(code);

            System.out.println(code ^ code >> 16);
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
        } catch (InstantiationException e) {
            e.printStackTrace();
        } catch (IllegalAccessException e) {
            e.printStackTrace();
        } catch (InvocationTargetException e) {
            e.printStackTrace();
        } catch (NoSuchMethodException e) {
            e.printStackTrace();
        }
    }

}
